
const state = {
  title: 'Hey',
  loading: true,
}

const mutations = {
  set_loading: (state, loading) => {
    if (loading !== undefined && loading !== null) {
      state.loading = loading;
    }
    else {
      state.loading = !state.loading;
    }
  }
}

const actions = {

}

export default {
  namespaced: true,
  state, mutations, actions
}
